package com.doyens.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName(value = "sch_level")
@ApiModel(value = "招生老师级别类")
public class Level implements Serializable {

    @ApiModelProperty(value = "招生老师级别id")
    @TableId(value = "level_id",type = IdType.AUTO)
    private Integer levelId;

    @ApiModelProperty(value = "级别名称")
    private String levelName;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
